package org.dev.vlp.bean;

import lombok.Data;
import org.dev.vlp.constants.MessageTypeEnum;

import java.util.Set;

/**
 * Description
 * Param
 * return
 * Author:86184
 * Date: 2023/3/7
 */
@Data
public class ChatMessage<T> {
    /**
     * 消息类型
     */
    private MessageTypeEnum type;

    /**
     * 消息发送者
     */
    private String sender;

    /**
     * 消息接收者
     */
    private Set<String> receivers;

    private T data;
}
